<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/base2.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/style2.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.1.4.min.js"></script>
		<title>用户管理</title>
	</head>
	<body>
		<div class="page">
			<div class="header">
				<div class="header_top"></div>
				<div class="header_bottom clearfix">
					<div class="header_logo fl">
						<img src="${pageContext.request.contextPath}/images/images/index-logo.png">
					</div>
					<ul class="header_nav clearfix fl">
						<li>
							<a href="order_ddlb_duan.html">订单管理</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/supplier/list/pass/1.html">渠道商管理</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/supplier/countAccount.html">财务管理</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/members/list/1.html" class="on">用户管理</a>
						</li>
						<li>
							<a href="money_lb_fafang.html">红包管理</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/admin/list/1.html">账户管理</a>
						</li>
					</ul>
					<div class="header_user fr">
						<img src="${pageContext.request.contextPath}/images/images/user.png">欢迎您，<i>${ sessionScope.MANAGER_NAME} </i><a herf="${pageContext.request.contextPath}//manager/loginout.html">【切换账号】</a>
					</div>
				</div>
			</div>
			<div class="main clearfix">
				<div class="main_menu fl">
					<div class="menu_name on">
						<a href="${pageContext.request.contextPath}/members/list/1.html">
							<img src="${pageContext.request.contextPath}/images/images/user_list.png">
							<p>用户列表</p>
						</a>
					</div>
				</div>
				<div class="main_cont fl">
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<div class="cont_top_title fl">当前位置：用户管理 > 用户列表 </div>
							<div class="cont_top_time fr"><i>
							<a href="${pageContext.request.contextPath}/members/list/1.html">
							<img src="${pageContext.request.contextPath}/images/images/refresh.png">刷新
							</a>
							</i></div>
						</div>
					</div>
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<div class="cont_top_time fr pr">
								<form action="${pageContext.request.contextPath}/members/list/1.html" id="youform">
									<input type="search" placeholder="请输入电话号码查询" class="search_txt" name="mobile">
									<input type="submit" value="搜索" class="search pa" style="top:6px;right: 0;">
								</form>
							</div>
						</div>
					</div>
					<div class="main_cont_bottom_userList">
						<div class="main_inner">
							<table>
							    <tr> 
							        <th><input type="checkbox" class="checked"></th> 
							        <th>用户姓名</th> 
							        <th>联系方式</th>
							        <th>注册方式</th>
							        <th>家庭住址1</th> 
							        <th>家庭住址2</th>
							        <th>家庭住址3</th>
							        <th>消费总数</th>
							    </tr> 
							    
							   <c:forEach items="${PAGE_BEAN.dataList}" var="member">
							     <tr> 
							        <td><input type="checkbox" class="checked"></td> 
							        <td>${member.wMNickname}</td>
							        <td>${member.wMMobile}</td>
							        <td>${member.wMRegDevice}</td>
							        <td>${member.contacts[0].wCAddress}</td>
							        <td>${member.contacts[1].wCAddress}</td>
							        <td>${member.contacts[2].wCAddress}</td>
							        <td>${member.countAmount} </td>
							    </tr> 
							    </c:forEach>
							   
							</table> 
							<%@ include file="/WEB-INF/views/page.jsp"%>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
